<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
<script src="__PUBLIC__/js/jquery.uploadify-3.1.min.js"></script>
<link rel="stylesheet" href="__PUBLIC__/css/uploadify.css">

<script type="text/javascript">
$(function() {
    $('#fileInput').uploadify({
		'checkExisting' : '__PUBLIC__/check-exists.php',
		'fileSizeLimit' : '100MB',
        'swf'      : '__PUBLIC__/uploadify.swf',
        'uploader' : '__PUBLIC__/uploadify.php',
		'method'   : 'post',
		'formData' : { 'someKey' : '/pro' }
        // Put your options here
    });
})
</script>
</head>
<body>
<input type="file" name="fileInput" id="fileInput" />
<a href="javascript:$('#fileInput').fileUploadStart();">上传文件</a>
<a href="javascript:$('#fileInput').fileUploadClearQueue();">取消上传队列</a>
</body>
</html>